{% extends 'style/base/base.html' %}{% load staticfiles %}
{% block style %}
  {{ block.super }}
{% endblock style %}
{% block content-header %}
  <section class="content-header">
    <h1>
      店名信息设置
      <small>操作面板</small>
    </h1>
    <ol class="breadcrumb">
      <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
      <li class="active">店名信息设置</li>
    </ol>
  </section>
{% endblock content-header %}
{% block content %}
  <hr>
  <section class="content">
    <div class="col-sm-12">
      <div class="box box-primary">
        <div class="box-header with-border">
          <h4>
            店名信息设置 <small> 请在各选项卡中填写所需要的顾客信息</small>
          </h4>
        </div>        
          <div class="box-body">
              <form class="layui-form layui-form-pane">
                {% csrf_token %}
                {{form.management_form }}
                {% for form_item in form%}
                    {% for field in form_item %}
                    {{field.label_tag}}{{field}}
                    {% endfor %}
                {% endfor %}
                  <div class="layui-form-item">
                      <label class="layui-form-label">{{form.unit_code.label}}</label>
                      <div class="layui-input-block">
                        {{form.unit_code}}
                        <input type="text" name="" placeholder="请输入" autocomplete="off" class="layui-input">
                      </div>
                    </div>
              </form>
          </div>

      </div>
    </div>
  </section>
{% endblock content %}
{% block script %}
  {{ block.super }}
{% endblock script %}